<?php
defined ( '_FW_EXEC' ) or die ( 'Restricted access' );

SysResponse::prependPageTitle('Administrator tool');
// xml prolog
if (!SysAuthenticate::isLogged()) {
	require_once 'login.php';
	return;
}
//echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<?php echo SYS_ROOT_URL;?>" />
<?php
SysResponse::printHeaderHtml ();
?>
</head>
<body>

<div id="wrapper">
	<div class="wrapbox">
		<div class="ad-header">
			<div class="left-header">KBBV Administrator</div>
			<div class="right-header"><div style="display:inline; color:#555;">
                          <?php
                            SysResponse::printModule('profile');
                            ?>
                    </div>	</div>
		</div>
		<!-- <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" >
			<tr>
		    	<td width="9" align="left" valign="top" class="header_middle">
                	<img src="<?php echo SYS_CUR_TMPL_URL; ?>images/header-bg.gif" alt=" " /> 
                </td>
		    	<td align="left" valign="top" class="header_middle">
                	<a href="<?php echo SYS_ADMIN_URL; ?>"><img src="<?php echo SYS_CUR_TMPL_URL; ?>images/header-logo.gif" alt=" " border="0"/></a> 
		    		<span id="logoDesc">KBBV Administrator</span>
				</td>
		    	<td width="275" align="right" class="header_middle" valign="bottom">
                    <div style="display:inline; color:#FFFFFF;">
                          <?php
                            SysResponse::printModule('profile');
                            ?>
                    </div>			
				</td>
		  	</tr>
		</table> -->
	</div>
</div>
		
<!-- start body -->
<div id="roundedDivWrapper" align="center">
    <div class="roundedDiv" align="center">
        <div id="content">
            <table width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="200" valign="top">
                    	<div class="main_category">Main Category</div>
                    </td>
                    <td>
                        <div id="tb">
                            <?php SysAdminHeader::includeModule ( 'toolbar' ); ?>
                        </div>
                        <div style="clear:both"></div>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <div id="divmenu">
                        	<?php SysResponse::printModule('menu'); ?>
                            <div style="margin-top:40px;"> &nbsp;
                            </div>
                        </div>
                    </td>
                    <td valign="top">
                        <?php SysResponse::printAppContent (); ?>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>

<div align="center" class=" ">
	<div class="main"></div>
</div>

<div align="center" class="footer">
	
</div>
</body>
</html>